package group.resource.service.impl;

import group.resource.entity.SysResource;
import group.resource.mapper.SysResourceMapper;
import group.resource.service.SysResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whx
 * @since 2021-04-21
 */
@Service
public class SysResourceServiceImpl extends ServiceImpl<SysResourceMapper, SysResource> implements SysResourceService {

    @Autowired
    private SysResourceMapper sysResourceMapper;

    @Override
    public SysResource queryResource(int id) {
        return sysResourceMapper.selectById(id);
    }
}
